package com.github.permissiondog.cancanpandroid.repository.api;

import com.github.permissiondog.cancanpandroid.repository.api.request.LoginRequest;
import com.github.permissiondog.cancanpandroid.repository.api.response.BaseResponse;
import com.github.permissiondog.cancanpandroid.repository.api.response.NavResponse;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;

public interface UserApiService {
    @POST("login")
    Call<BaseResponse> login(@Body LoginRequest request);
    @GET("nav")
    Call<NavResponse> nav();
    @POST("logout")
    Call<BaseResponse> logout();
}
